#!/bin/bash
echo "Please input a int:"  # 提示输入一个整数
read num1 # 读取整数
# 判断然后输出
if [ "$num1" -gt 100 ]
then
    echo "You are first! Biger than 100!"
    exit 1
elif [ "$num1" -gt 50 ]
then
    echo "You are second! Biger than 50, small than 100!"
    exit 2
else
    echo "You are the last! Small than 50!"
    exit 3
fi
exit 0
